package com.example.shop_2305.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.lib_base.room.KeyEntity
import com.example.shop_2305.R

class KeyAdapter:BaseQuickAdapter<KeyEntity,BaseViewHolder>(R.layout.item_key) {
    override fun convert(holder: BaseViewHolder, item: KeyEntity) {
        holder.setText(R.id.key_tv,item.keyword)
    }
}